<?php
class IndexAction extends Action{
	
    public function index(){
	   
		$arr = PHPAction::gf();
    	foreach ($arr as $k=>$v){
		    if($k==2){
			  break;
			}
			$list[$k] = explode('||',$v);
			$list[$k][2] = msubstr(strip_tags($list[$k][2]),0,64).'......';
		}
		
		$this->assign('list',$list);
    	$this->display('web@index');
    }
}
?>